package com.wanmait.computershop.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;
import java.sql.Timestamp;
import java.util.List;

@Data
public class Torder {
    private Integer id;
    private Integer uid;
    private User user;
    private String recvName;
    private String provinceName;
    private String cityName;
    private String areaName;
    private String detailName;
    private String orderPhone;
    private String orderNum;
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;

    private Timestamp payTime;
    private List<Orderdetle> orderdetleList;

}
